package cn.buk.api.ctrip.dto.share;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

/**
 * 国际政策低价比较的返回结果
 * 数组：每一个response对应每一个request
 * Created by yfdai on 16/1/5.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "ArrayOfLowPriceResponse")
public class ArrayOfIntlLowPriceResponse {

    @XmlElement(name="LowPriceResponse")
    private List<IntlLowPriceResponse> intlLowPriceResponseList = new ArrayList<>();

    public List<IntlLowPriceResponse> getIntlLowPriceResponseList() {
        return intlLowPriceResponseList;
    }

    public void setIntlLowPriceResponseList(List<IntlLowPriceResponse> intlLowPriceResponseList) {
        this.intlLowPriceResponseList = intlLowPriceResponseList;
    }

//    <?xml version="1.0" encoding="utf-16"?>
//    <ArrayOfLowPriceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
//        <LowPriceResponse>
//            <InfoList />
//            <ErrorMsg>【第1条,错误信息:【行程类型格式不正确】</ErrorMsg>
//        </LowPriceResponse>
//        <LowPriceResponse>
//            <InfoList>
//                <LowPriceModel>
//                    <FlightInfoOut>SHA-CHI-NYC</FlightInfoOut>
//                    <FlightInfoIn>NYC-CHI-SHA</FlightInfoIn>
//                    <FlightNumberOut>UA836+UA1825</FlightNumberOut>
//                    <FlightNumberIn>UA1437+UA835</FlightNumberIn>
//                    <SeatClassOut>K+K</SeatClassOut>
//                    <SeatClassIn>K+K</SeatClassIn>
//                    <LowestProductType>私有运价</LowestProductType>
//                    <OwnerProductType>公布运价</OwnerProductType>
//                    <LowerProductType>公转私</LowerProductType>
//                    <PassengerEligibility>普通成人</PassengerEligibility>
//                    <OwnerPrice>0</OwnerPrice>
//                    <LowestPrice>3681</LowestPrice>
//                    <LowerPrice>5745</LowerPrice>
//                    <OwnerIsLowest>false</OwnerIsLowest>
//                </LowPriceModel>
//            </InfoList>
//        </LowPriceResponse>
//    </ArrayOfLowPriceResponse>


}
